// import { Component } from 'react'
import Taro from "@tarojs/taro";
import {View} from "@tarojs/components";
import './index.scss'

export default () => {
  Taro.setStorageSync("userId","")
  console.log(Taro.getStorageSync('userId'))

  return <View className='box'>
    <View style={{backgroundColor:'#fff',height:'80px',lineHeight:'80px'}}>
      <View className='' style={{position:'absolute',top:'0',left:'0',fontSize:'22px',paddingTop:'6px',display:'flex'}}
            onClick={()=>Taro.navigateBack()}>
        <View style={{fontSize:'14px',paddingLeft:'4px'}}></View>
      </View>
      <View style={{textAlign:'center',width:'100%'}}>接单</View>
    </View>
    <View className='header'>
      <View>接单</View>
      <View className='iconfont icon-saoma'></View>
    </View>
    <View className='list'>
      <View className='item'>
        <View className='top'>
          <View >待接单</View>
          <View className='iconfont icon-mangluim'>忙碌</View>
          <View className='iconfont null'><View className='range'></View>空闲</View>
        </View>
        <View className='list_item'>
          <View className='inle'>
            <View className='title'>服务项目：</View>
            <View>项目名称</View>
          </View>
          <View className='inle'>
            <View className='title'>服务时间：</View>
            <View>2020.06.18  08:00</View>
          </View>
          <View className='inle'>
            <View className='title'>服务地点：</View>
            <View>广州市白云区汇侨路10号212A</View>
          </View>
        </View>
        <View className='btn_box'>
          <View>联系客户</View>
          <View>拒单</View>
          <View>接单</View>
        </View>
      </View>
      <View className='item'>
        <View className='top'>
          <View >待接单</View>
          <View >忙碌</View>
        </View>
        <View className='list_item'>
          <View className='inle'>
            <View className='title'>服务项目：</View>
            <View>项目名称</View>
          </View>
          <View className='inle'>
            <View className='title'>服务时间：</View>
            <View>2020.06.18  08:00</View>
          </View>
          <View className='inle'>
            <View className='title'>服务地点：</View>
            <View>广州市白云区汇侨路10号212A</View>
          </View>
        </View>
        <View className='btn_box'>
          <View>联系客户</View>
          <View>拒单</View>
          <View>接单</View>
        </View>
      </View>
      <View className='item'>
        <View className='top'>
          <View >待接单</View>
          <View >忙碌</View>
        </View>
        <View className='list_item'>
          <View className='inle'>
            <View className='title'>服务项目：</View>
            <View>项目名称</View>
          </View>
          <View className='inle'>
            <View className='title'>服务时间：</View>
            <View>2020.06.18  08:00</View>
          </View>
          <View className='inle'>
            <View className='title'>服务地点：</View>
            <View>广州市白云区汇侨路10号212A</View>
          </View>
        </View>
        <View className='btn_box'>
          <View>联系客户</View>
          <View>拒单</View>
          <View>接单</View>
        </View>
      </View>
    </View>
    <View className='bottom'>到底了</View>
  </View>
}
